

var ipp = require('../ipp.js');
var data = new Buffer(
		'0200' +	//version 2.0
		'000B' +	//Get-Printer-Attributes
		'00000001'+	//reqid
		'01' +		//operation-attributes-tag
		//blah blah the required bloat of this protocol
		'470012617474726962757465732d6368617273657400057574662d3848001b617474726962757465732d6e61747572616c2d6c616e67756167650002656e' +
		'03'		//end-of-attributes-tag
	,'hex');


var result = ipp.parse(data);
console.log(JSON.stringify(result,null,2));
//ta-da!
//{
//	"version": "2.0",
//	"operation": 11,
//	"id": 1,
//	"operation-attributes-tag": {
//		"attributes-charset": "utf-8",
//		"attributes-natural-language": "en"
//	}
//}
return;

var data = new Buffer(
	'0200' +//version
	'0000' +//status
	'00000001' +//reqid
	'01' +//operation-attributes-tag
	'470012617474726962757465732d6368617273657400057574662d3848001b617474726962757465732d6e61747572616c2d6c616e67756167650002656e' +
//		'044500157072696e7465722d7572692d737570706f7274656400166970703a2f2f435030312f6970702f7072696e7465724400167572692d73656375726974792d737570706f7274656400046e6f6e6544001c7572692d61757468656e7469636174696f6e2d737570706f72746564001472657175657374696e672d757365722d6e616d6542000c7072696e7465722d6e616d650004435030314100107072696e7465722d6c6f636174696f6e00004500117072696e7465722d6d6f72652d696e666f000b687474703a2f2f4350303141000c7072696e7465722d696e666f00164850204c617365724a657420343030204d343031646e4100167072696e7465722d6d616b652d616e642d6d6f64656c00164850204c617365724a657420343030204d343031646e23000d7072696e7465722d73746174650004000000' +
	'03' +
//	'4400157072696e7465722d73746174652d726561736f6e7300046e6f6e654400166970702d76657273696f6e732d737570706f727465640003312e304400000003312e314400000003322e302300146f7065726174696f6e732d737570706f7274656400040000000223000000040000000323000000040000000423000000040000000523000000040000000723000000040000000823000000040000000923000000040000000a23000000040000000b23000000040000003c2200206d756c7469706c652d646f63756d656e742d6a6f62732d737570706f72746564000101470012636861727365742d636f6e6669677572656400057574662d38470011636861727365742d737570706f7274656400057574662d38470000000875732d617363696948001b6e61747572616c2d6c616e67756167652d636f6e666967757265640002656e48002467656e6572617465642d6e61747572616c2d6c616e67756167652d737570706f727465640002656e490017646f63756d656e742d666f726d61742d64656661756c74000f6170706c69636174696f6e2f706466490019646f63756d656e742d666f726d61742d737570706f727465640009696d6167652f757266490000000f6170706c69636174696f6e2f70646649000000166170706c69636174696f6e2f706f737473637269707449000000166170706c69636174696f6e2f766e642e68702d50434c49000000186170706c69636174696f6e2f766e642e68702d50434c584c49000000106170706c69636174696f6e2f50434c6d49000000186170706c69636174696f6e2f6f637465742d73747265616d2200197072696e7465722d69732d616363657074696e672d6a6f62730001012100107175657565642d6a6f622d636f756e7400040000000044001670646c2d6f766572726964652d737570706f727465640009617474656d7074656421000f7072696e7465722d75702d74696d6500040004f0a4440015636f6d7072657373696f6e2d737570706f7274656400046e6f6e6522000f636f6c6f722d737570706f72746564000100220015706167652d72616e6765732d737570706f727465640001014400216a6f622d6372656174696f6e2d617474726962757465732d737570706f727465640006636f70696573440000000a66696e697368696e67734400000005736964657344000000156f7269656e746174696f6e2d72657175657374656444000000056d65646961440000000d7072696e742d7175616c69747944000000127072696e7465722d7265736f6c7574696f6e440000000a6f75747075742d62696e44000000096d656469612d636f6c440000000b6f75747075742d6d6f646544000000166970702d6174747269627574652d666964656c69747944000000086a6f622d6e616d65440000000b706167652d72616e676573440000001a6d756c7469706c652d646f63756d656e742d68616e646c696e67440000000f7064662d6669742d746f2d7061676544000000107072696e742d636f6c6f722d6d6f646544000000167072696e742d636f6e74656e742d6f7074696d697a6544000000196d616e75616c2d6475706c65782d73686565742d636f756e7444000000136d617267696e732d7072652d6170706c696564440000001670636c6d2d736f757263652d7265736f6c7574696f6e44000f6d656469612d737570706f7274656400126e615f6c65747465725f382e35783131696e44000000116e615f6c6567616c5f382e35783134696e44000000186e615f6578656375746976655f372e32357831302e35696e44000000146e615f666f6f6c736361705f382e35783133696e440000001069736f5f61345f323130783239376d6d440000001069736f5f61355f313438783231306d6d440000001069736f5f61365f313035783134386d6d44000000106a69735f62355f313832783235376d6d44000000117072635f31366b5f313935783237306d6d44000000117072635f31366b5f313834783236306d6d44000000117072635f31366b5f313937783237336d6d44000000146a706e5f686167616b695f313030783134386d6d44000000146a706e5f6f7566756b755f313438783230306d6d44000000186e615f6e756d6265722d31305f342e31323578392e35696e44000000166e615f6d6f6e617263685f332e38373578372e35696e440000001069736f5f62355f313736783235306d6d440000001069736f5f63355f313632783232396d6d440000001069736f5f646c5f313130783232306d6d44000d6d656469612d64656661756c7400126e615f6c65747465725f382e35783131696e4400136d656469612d636f6c2d737570706f72746564000a6d656469612d74797065440000000a6d656469612d73697a6544000000106d656469612d746f702d6d617267696e44000000116d656469612d6c6566742d6d617267696e44000000126d656469612d72696768742d6d617267696e44000000136d656469612d626f74746f6d2d6d617267696e440000000c6d656469612d736f7572636544000000106475706c65782d737570706f727465643400116d656469612d636f6c2d64656661756c7400004a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000054564a0000000b792d64696d656e73696f6e210000000400006d244a0000000f6d656469612d73697a652d6e616d6542000000126e615f6c65747465725f382e35783131696e37000000004a000000106d656469612d746f702d6d617267696e2100000004000001a74a000000136d656469612d626f74746f6d2d6d617267696e2100000004000001a74a000000116d656469612d6c6566742d6d617267696e2100000004000001a74a000000126d656469612d72696768742d6d617267696e2100000004000001a74a0000000c6d656469612d736f7572636544000000046175746f4a0000000a6d656469612d74797065420000000a73746174696f6e6572794a000000106475706c65782d737570706f72746564210000000400000001370000000021001b6d656469612d6c6566742d6d617267696e2d737570706f727465640004000001a721001c6d656469612d72696768742d6d617267696e2d737570706f727465640004000001a721001a6d656469612d746f702d6d617267696e2d737570706f727465640004000001a721001d6d656469612d626f74746f6d2d6d617267696e2d737570706f727465640004000001a74400166d656469612d736f757263652d737570706f7274656400046175746f44000000066d616e75616c4400000006747261792d314400000006747261792d324200146d656469612d747970652d737570706f72746564000a73746174696f6e657279420000001673746174696f6e6572792d6c69676874776569676874420000000a65787472614c6967687442000000096d6964776569676874420000001673746174696f6e6572792d6865617679776569676874420000000a657874726148656176794200000011636f6c6f725472616e73706172656e637942000000066c6162656c73420000001573746174696f6e6572792d6c6574746572686561644200000008656e76656c6f7065420000001573746174696f6e6572792d7072657072696e746564420000001573746174696f6e6572792d70726570756e636865644200000005636f6c6f724200000004626f6e64420000000872656379636c65644200000005726f7567683400196a6f622d636f6e73747261696e74732d737570706f7274656400004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000047ef4a0000000b792d64696d656e73696f6e21000000040000682e4a0000000f6d656469612d73697a652d6e616d6542000000186e615f6578656375746976655f372e32357831302e35696e3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000054564a0000000b792d64696d656e73696f6e2100000004000080fc4a0000000f6d656469612d73697a652d6e616d6542000000146e615f666f6f6c736361705f382e35783133696e3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000039d04a0000000b792d64696d656e73696f6e2100000004000052084a0000000f6d656469612d73697a652d6e616d65420000001069736f5f61355f313438783231306d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000029044a0000000b792d64696d656e73696f6e2100000004000039d04a0000000f6d656469612d73697a652d6e616d65420000001069736f5f61365f313035783134386d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000047184a0000000b792d64696d656e73696f6e2100000004000064644a0000000f6d656469612d73697a652d6e616d6542000000106a69735f62355f313832783235376d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e210000000400004c2c4a0000000b792d64696d656e73696f6e2100000004000069784a0000000f6d656469612d73697a652d6e616d6542000000117072635f31366b5f313935783237306d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000047e04a0000000b792d64696d656e73696f6e2100000004000065904a0000000f6d656469612d73697a652d6e616d6542000000117072635f31366b5f313834783236306d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e210000000400004ce04a0000000b792d64696d656e73696f6e210000000400006aa44a0000000f6d656469612d73697a652d6e616d6542000000117072635f31366b5f313937783237336d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000027104a0000000b792d64696d656e73696f6e2100000004000039d04a0000000f6d656469612d73697a652d6e616d6542000000146a706e5f686167616b695f313030783134386d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000039d04a0000000b792d64696d656e73696f6e210000000400004e204a0000000f6d656469612d73697a652d6e616d6542000000146a706e5f6f7566756b755f313438783230306d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000028f04a0000000b792d64696d656e73696f6e210000000400005e424a0000000f6d656469612d73697a652d6e616d6542000000186e615f6e756d6265722d31305f342e31323578392e35696e3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000026704a0000000b792d64696d656e73696f6e210000000400004a6a4a0000000f6d656469612d73697a652d6e616d6542000000166e615f6d6f6e617263685f332e38373578372e35696e3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000044c04a0000000b792d64696d656e73696f6e2100000004000061a84a0000000f6d656469612d73697a652d6e616d65420000001069736f5f62355f313736783235306d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e210000000400003f484a0000000b792d64696d656e73696f6e2100000004000059744a0000000f6d656469612d73697a652d6e616d65420000001069736f5f63355f313632783232396d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e210000000400002af84a0000000b792d64696d656e73696f6e2100000004000055f04a0000000f6d656469612d73697a652d6e616d65420000001069736f5f646c5f313130783232306d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000047ef4a0000000b792d64696d656e73696f6e21000000040000682e4a0000000f6d656469612d73697a652d6e616d6542000000186e615f6578656375746976655f372e32357831302e35696e3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000054564a0000000b792d64696d656e73696f6e2100000004000080fc4a0000000f6d656469612d73697a652d6e616d6542000000146e615f666f6f6c736361705f382e35783133696e3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000039d04a0000000b792d64696d656e73696f6e2100000004000052084a0000000f6d656469612d73697a652d6e616d65420000001069736f5f61355f313438783231306d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000029044a0000000b792d64696d656e73696f6e2100000004000039d04a0000000f6d656469612d73697a652d6e616d65420000001069736f5f61365f313035783134386d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000047184a0000000b792d64696d656e73696f6e2100000004000064644a0000000f6d656469612d73697a652d6e616d6542000000106a69735f62355f313832783235376d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e210000000400004c2c4a0000000b792d64696d656e73696f6e2100000004000069784a0000000f6d656469612d73697a652d6e616d6542000000117072635f31366b5f313935783237306d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000047e04a0000000b792d64696d656e73696f6e2100000004000065904a0000000f6d656469612d73697a652d6e616d6542000000117072635f31366b5f313834783236306d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e210000000400004ce04a0000000b792d64696d656e73696f6e210000000400006aa44a0000000f6d656469612d73697a652d6e616d6542000000117072635f31366b5f313937783237336d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000027104a0000000b792d64696d656e73696f6e2100000004000039d04a0000000f6d656469612d73697a652d6e616d6542000000146a706e5f686167616b695f313030783134386d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000039d04a0000000b792d64696d656e73696f6e210000000400004e204a0000000f6d656469612d73697a652d6e616d6542000000146a706e5f6f7566756b755f313438783230306d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000028f04a0000000b792d64696d656e73696f6e210000000400005e424a0000000f6d656469612d73697a652d6e616d6542000000186e615f6e756d6265722d31305f342e31323578392e35696e3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000026704a0000000b792d64696d656e73696f6e210000000400004a6a4a0000000f6d656469612d73697a652d6e616d6542000000166e615f6d6f6e617263685f332e38373578372e35696e3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000044c04a0000000b792d64696d656e73696f6e2100000004000061a84a0000000f6d656469612d73697a652d6e616d65420000001069736f5f62355f313736783235306d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e210000000400003f484a0000000b792d64696d656e73696f6e2100000004000059744a0000000f6d656469612d73697a652d6e616d65420000001069736f5f63355f313632783232396d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e210000000400002af84a0000000b792d64696d656e73696f6e2100000004000055f04a0000000f6d656469612d73697a652d6e616d65420000001069736f5f646c5f313130783232306d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d747970654200000011636f6c6f725472616e73706172656e6379370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d7479706542000000066c6162656c73370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a000000057369646573440000001474776f2d73696465642d73686f72742d656467654a0000000a6d656469612d747970654200000008656e76656c6f7065370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d747970654200000011636f6c6f725472616e73706172656e6379370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d7479706542000000066c6162656c73370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a000000057369646573440000001374776f2d73696465642d6c6f6e672d656467654a0000000a6d656469612d747970654200000008656e76656c6f706537000000003400176a6f622d7265736f6c766572732d737570706f7274656400004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000054564a0000000b792d64696d656e73696f6e210000000400006d244a0000000f6d656469612d73697a652d6e616d6542000000126e615f6c65747465725f382e35783131696e3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000054564a0000000b792d64696d656e73696f6e210000000400008ae84a0000000f6d656469612d73697a652d6e616d6542000000116e615f6c6567616c5f382e35783134696e3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d73697a654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d73697a6534000000004a0000000b782d64696d656e73696f6e2100000004000052084a0000000b792d64696d656e73696f6e2100000004000074044a0000000f6d656469612d73697a652d6e616d65420000001069736f5f61345f323130783239376d6d3700000000370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d74797065420000000a73746174696f6e657279370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d74797065420000001673746174696f6e6572792d6c69676874776569676874370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d74797065420000000a65787472614c69676874370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d7479706542000000096d6964776569676874370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d74797065420000001673746174696f6e6572792d6865617679776569676874370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d74797065420000000a65787472614865617679370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d74797065420000001573746174696f6e6572792d6c657474657268656164370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d74797065420000001573746174696f6e6572792d7072657072696e746564370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d74797065420000001573746174696f6e6572792d70726570756e63686564370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d747970654200000005636f6c6f72370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d747970654200000004626f6e64370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d74797065420000000872656379636c6564370000000034000000004a0000000d7265736f6c7665722d6e616d65420000001b6475706c65782d737570706f727465642d6d656469612d747970654a00000005736964657344000000096f6e652d73696465644a0000000a6d656469612d747970654200000005726f756768370000000021001070616765732d7065722d6d696e7574650004000000233300167064662d6b2d6f63746574732d737570706f72746564000800000000000124f84400167064662d76657273696f6e732d737570706f72746564000961646f62652d312e32440000000961646f62652d312e33440000000961646f62652d312e34440000000961646f62652d312e35440000000961646f62652d312e36440000000961646f62652d312e37440000001069736f2d31393030352d315f32303035440000001069736f2d33323030302d315f3230303844000d7572662d737570706f727465640004435039394400000002573844000000044f42313044000000075051332d342d354400000003444d3144000000074953312d322d3444000000094d54312d322d332d3544000000094d54312d322d332d35440000000a52533630302d3132303045000c7072696e7465722d75756964002d75726e3a757569643a35363465343233332d343833302d333433352d333033332d38306331366539373265353142000c6d61726b65722d6e616d65730019426c61636b204361727472696467652048502043463238305842000d6d61726b65722d636f6c6f727300072330303030303044000c6d61726b65722d74797065730005746f6e65722100116d61726b65722d6c6f772d6c6576656c730004000000062100126d61726b65722d686967682d6c6576656c7300040000006421000d6d61726b65722d6c6576656c7300040000004721000e636f706965732d64656661756c740004000000014400226d756c7469706c652d646f63756d656e742d68616e646c696e672d64656661756c74000f73696e676c652d646f63756d656e7423001266696e697368696e67732d64656661756c7400040000000323001d6f7269656e746174696f6e2d7265717565737465642d64656661756c740004000000032300157072696e742d7175616c6974792d64656661756c7400040000000432001a7072696e7465722d7265736f6c7574696f6e2d64656661756c74000900000258000002580344000d73696465732d64656661756c7400096f6e652d73696465644400126f75747075742d62696e2d64656661756c740009666163652d646f776e4400136f75747075742d6d6f64652d64656661756c7400046175746f440000000a6d6f6e6f6368726f6d65330010636f706965732d737570706f72746564000800000001000003e74400246d756c7469706c652d646f63756d656e742d68616e646c696e672d737570706f72746564000f73696e676c652d646f63756d656e74440000002473657061726174652d646f63756d656e74732d756e636f6c6c617465642d636f70696573440000002273657061726174652d646f63756d656e74732d636f6c6c617465642d636f70696573440000001973696e676c652d646f63756d656e742d6e65772d736865657423001466696e697368696e67732d737570706f7274656400040000000323001f6f7269656e746174696f6e2d7265717565737465642d737570706f727465640004000000032300000004000000042300000004000000052300000004000000062300177072696e742d7175616c6974792d737570706f7274656400040000000423000000040000000332001c7072696e7465722d7265736f6c7574696f6e2d737570706f7274656400090000025800000258033200000009000004b0000004b00344000f73696465732d737570706f7274656400096f6e652d7369646564440000001474776f2d73696465642d73686f72742d65646765440000001374776f2d73696465642d6c6f6e672d656467653300196a6f622d696d7072657373696f6e732d737570706f727465640008000000010001869f4400146f75747075742d62696e2d737570706f727465640009666163652d646f776e4400156f75747075742d6d6f64652d737570706f7274656400046175746f440000000a6d6f6e6f6368726f6d6545000d7072696e7465722d69636f6e730022687474703a2f2f435030312f6970702f696d616765732f7072696e7465722e706e674500000028687474703a2f2f435030312f6970702f696d616765732f7072696e7465722d6c617267652e706e674500177072696e7465722d737570706c792d696e666f2d7572690028687474703a2f2f435030312f68702f6465766963652f6d537570706c795374617475732e68746d6c4100117072696e7465722d6465766963652d696400d04d46473a4865776c6574742d5061636b6172643b434d443a504a4c2c504d4c2c50434c584c2c5552502c50434c2c5044462c504f53545343524950543b4d444c3a4850204c617365724a657420343030204d343031646e3b434c533a5052494e5445523b4445533a4865776c6574742d5061636b617264204c617365724a657420343030204d343031646e3b4d454d3a4d454d3d3233374d423b434f4d4d454e543a5245533d3132303078313b4c45444d4449533a5553422366662330342330313b4349443a48504c4a50444c56313b2300296c616e6473636170652d6f7269656e746174696f6e2d7265717565737465642d7072656665727265640004000000044400186964656e746966792d616374696f6e732d64656661756c740007646973706c617944001a6964656e746966792d616374696f6e732d737570706f727465640007646973706c61794400166570636c2d76657273696f6e2d737570706f7274656400086570636c2d312e3044001b696d6167652d656e68616e63656d656e742d737570706f72746564000e6f626a6563742d74616767696e6744000000136b2d706c616e652d656e68616e63656d656e742200176d616e75616c2d6475706c65782d737570706f7274656400010144001570636c6d2d7261737465722d6261636b2d7369646500066e6f726d616c44002170636c6d2d636f6d7072657373696f6e2d6d6574686f642d70726566657272656400046a70656732002070636c6d2d736f757263652d7265736f6c7574696f6e2d737570706f7274656400090000025800000258033200000009000004b0000004b00321001b70636c6d2d73747269702d6865696768742d70726566657272656400040000001021001b70636c6d2d73747269702d6865696768742d737570706f727465640004000000002100000004000000102100000004000000202100000004000000402100000004000000802100000004000001002100000004000002002200177064662d6669742d746f2d706167652d64656661756c740001002200197064662d6669742d746f2d706167652d737570706f727465640001012100147064662d73697a652d636f6e73747261696e74730004047868c04400187072696e742d636f6c6f722d6d6f64652d64656661756c74000a6d6f6e6f6368726f6d6544001a7072696e742d636f6c6f722d6d6f64652d737570706f72746564000a6d6f6e6f6368726f6d6544001e7072696e742d636f6e74656e742d6f7074696d697a652d64656661756c740011746578742d616e642d67726170686963734400207072696e742d636f6e74656e742d6f7074696d697a652d737570706f72746564000570686f746f440000000867726170686963734400000004746578744400000011746578742d616e642d677261706869637303' +
	'', 'hex');
var ipp = require('../ipp.js');
var result = ipp.parse(data);

console.log(JSON.stringify(result,null,2));

var x = {
	"version": "2.0",
	"operation": 0,
	"id": 1,
	"operation-attributes-tag": {
		"attributes-charset": "utf-8",
		"attributes-natural-language": "en"
	},
	"printer-attributes-tag": {
		"printer-uri-supported": "ipp://CP01/ipp/printer",
		"uri-security-supported": "none",
		"uri-authentication-supported": "requesting-user-name",
		"printer-name": "CP01",
		"printer-location": "",
		"printer-more-info": "http://CP01",
		"printer-info": "HP LaserJet 400 M401dn",
		"printer-make-and-model": "HP LaserJet 400 M401dn",
		"printer-state": "idle",
		"printer-state-reasons": "none",
		"ipp-versions-supported": [
			"1.0",
			"1.1",
			"2.0"
		],
		"operations-supported": [
			"Print-Job",
			"Print-URI",
			"Validate-Job",
			"Create-Job",
			"Send-URI",
			"Cancel-Job",
			"Get-Job-Attributes",
			"Get-Jobs",
			"Get-Printer-Attributes",
			"Identify-Printer"
		],
		"multiple-document-jobs-supported": true,
		"charset-configured": "utf-8",
		"charset-supported": [
			"utf-8",
			"us-ascii"
		],
		"natural-language-configured": "en",
		"generated-natural-language-supported": "en",
		"document-format-default": "application/pdf",
		"document-format-supported": [
			"image/urf",
			"application/pdf",
			"application/postscript",
			"application/vnd.hp-PCL",
			"application/vnd.hp-PCLXL",
			"application/PCLm",
			"application/octet-stream"
		],
		"printer-is-accepting-jobs": true,
		"queued-job-count": 0,
		"pdl-override-supported": "attempted",
		"printer-up-time": 323748,
		"compression-supported": "none",
		"color-supported": false,
		"page-ranges-supported": true,
		"job-creation-attributes-supported": [
			"copies",
			"finishings",
			"sides",
			"orientation-requested",
			"media",
			"print-quality",
			"printer-resolution",
			"output-bin",
			"media-col",
			"output-mode",
			"ipp-attribute-fidelity",
			"job-name",
			"page-ranges",
			"multiple-document-handling",
			"pdf-fit-to-page",
			"print-color-mode",
			"print-content-optimize",
			"manual-duplex-sheet-count",
			"margins-pre-applied",
			"pclm-source-resolution"
		],
		"media-supported": [
			"na_letter_8.5x11in",
			"na_legal_8.5x14in",
			"na_executive_7.25x10.5in",
			"na_foolscap_8.5x13in",
			"iso_a4_210x297mm",
			"iso_a5_148x210mm",
			"iso_a6_105x148mm",
			"jis_b5_182x257mm",
			"prc_16k_195x270mm",
			"prc_16k_184x260mm",
			"prc_16k_197x273mm",
			"jpn_hagaki_100x148mm",
			"jpn_oufuku_148x200mm",
			"na_number-10_4.125x9.5in",
			"na_monarch_3.875x7.5in",
			"iso_b5_176x250mm",
			"iso_c5_162x229mm",
			"iso_dl_110x220mm"
		],
		"media-default": "na_letter_8.5x11in",
		"media-col-supported": [
			"media-type",
			"media-size",
			"media-top-margin",
			"media-left-margin",
			"media-right-margin",
			"media-bottom-margin",
			"media-source",
			"duplex-supported"
		],
		"media-col-default": {
			"media-size": {
				"x-dimension": 21590,
				"y-dimension": 27940,
				"media-size-name": "na_letter_8.5x11in"
			},
			"media-top-margin": 423,
			"media-bottom-margin": 423,
			"media-left-margin": 423,
			"media-right-margin": 423,
			"media-source": "auto",
			"media-type": "stationery",
			"duplex-supported": 1
		},
		"media-left-margin-supported": 423,
		"media-right-margin-supported": 423,
		"media-top-margin-supported": 423,
		"media-bottom-margin-supported": 423,
		"media-source-supported": [
			"auto",
			"manual",
			"tray-1",
			"tray-2"
		],
		"media-type-supported": [
			"stationery",
			"stationery-lightweight",
			"extraLight",
			"midweight",
			"stationery-heavyweight",
			"extraHeavy",
			"colorTransparency",
			"labels",
			"stationery-letterhead",
			"envelope",
			"stationery-preprinted",
			"stationery-prepunched",
			"color",
			"bond",
			"recycled",
			"rough"
		],
		"job-constraints-supported": [
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 18415,
					"y-dimension": 26670,
					"media-size-name": "na_executive_7.25x10.5in"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 21590,
					"y-dimension": 33020,
					"media-size-name": "na_foolscap_8.5x13in"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 14800,
					"y-dimension": 21000,
					"media-size-name": "iso_a5_148x210mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 10500,
					"y-dimension": 14800,
					"media-size-name": "iso_a6_105x148mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 18200,
					"y-dimension": 25700,
					"media-size-name": "jis_b5_182x257mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 19500,
					"y-dimension": 27000,
					"media-size-name": "prc_16k_195x270mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 18400,
					"y-dimension": 26000,
					"media-size-name": "prc_16k_184x260mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 19680,
					"y-dimension": 27300,
					"media-size-name": "prc_16k_197x273mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 10000,
					"y-dimension": 14800,
					"media-size-name": "jpn_hagaki_100x148mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 14800,
					"y-dimension": 20000,
					"media-size-name": "jpn_oufuku_148x200mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 10480,
					"y-dimension": 24130,
					"media-size-name": "na_number-10_4.125x9.5in"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 9840,
					"y-dimension": 19050,
					"media-size-name": "na_monarch_3.875x7.5in"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 17600,
					"y-dimension": 25000,
					"media-size-name": "iso_b5_176x250mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 16200,
					"y-dimension": 22900,
					"media-size-name": "iso_c5_162x229mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-short-edge",
				"media-size": {
					"x-dimension": 11000,
					"y-dimension": 22000,
					"media-size-name": "iso_dl_110x220mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 18415,
					"y-dimension": 26670,
					"media-size-name": "na_executive_7.25x10.5in"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 21590,
					"y-dimension": 33020,
					"media-size-name": "na_foolscap_8.5x13in"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 14800,
					"y-dimension": 21000,
					"media-size-name": "iso_a5_148x210mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 10500,
					"y-dimension": 14800,
					"media-size-name": "iso_a6_105x148mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 18200,
					"y-dimension": 25700,
					"media-size-name": "jis_b5_182x257mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 19500,
					"y-dimension": 27000,
					"media-size-name": "prc_16k_195x270mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 18400,
					"y-dimension": 26000,
					"media-size-name": "prc_16k_184x260mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 19680,
					"y-dimension": 27300,
					"media-size-name": "prc_16k_197x273mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 10000,
					"y-dimension": 14800,
					"media-size-name": "jpn_hagaki_100x148mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 14800,
					"y-dimension": 20000,
					"media-size-name": "jpn_oufuku_148x200mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 10480,
					"y-dimension": 24130,
					"media-size-name": "na_number-10_4.125x9.5in"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 9840,
					"y-dimension": 19050,
					"media-size-name": "na_monarch_3.875x7.5in"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 17600,
					"y-dimension": 25000,
					"media-size-name": "iso_b5_176x250mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 16200,
					"y-dimension": 22900,
					"media-size-name": "iso_c5_162x229mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "two-sided-long-edge",
				"media-size": {
					"x-dimension": 11000,
					"y-dimension": 22000,
					"media-size-name": "iso_dl_110x220mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "two-sided-short-edge",
				"media-type": "colorTransparency"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "two-sided-short-edge",
				"media-type": "labels"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "two-sided-short-edge",
				"media-type": "envelope"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "two-sided-long-edge",
				"media-type": "colorTransparency"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "two-sided-long-edge",
				"media-type": "labels"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "two-sided-long-edge",
				"media-type": "envelope"
			}
		],
		"job-resolvers-supported": [
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "one-sided",
				"media-size": {
					"x-dimension": 21590,
					"y-dimension": 27940,
					"media-size-name": "na_letter_8.5x11in"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "one-sided",
				"media-size": {
					"x-dimension": 21590,
					"y-dimension": 35560,
					"media-size-name": "na_legal_8.5x14in"
				}
			},
			{
				"resolver-name": "duplex-supported-media-size",
				"sides": "one-sided",
				"media-size": {
					"x-dimension": 21000,
					"y-dimension": 29700,
					"media-size-name": "iso_a4_210x297mm"
				}
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "one-sided",
				"media-type": "stationery"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "one-sided",
				"media-type": "stationery-lightweight"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "one-sided",
				"media-type": "extraLight"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "one-sided",
				"media-type": "midweight"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "one-sided",
				"media-type": "stationery-heavyweight"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "one-sided",
				"media-type": "extraHeavy"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "one-sided",
				"media-type": "stationery-letterhead"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "one-sided",
				"media-type": "stationery-preprinted"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "one-sided",
				"media-type": "stationery-prepunched"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "one-sided",
				"media-type": "color"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "one-sided",
				"media-type": "bond"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "one-sided",
				"media-type": "recycled"
			},
			{
				"resolver-name": "duplex-supported-media-type",
				"sides": "one-sided",
				"media-type": "rough"
			}
		],
		"pages-per-minute": 35,
		"pdf-k-octets-supported": [
			0,
			75000
		],
		"pdf-versions-supported": [
			"adobe-1.2",
			"adobe-1.3",
			"adobe-1.4",
			"adobe-1.5",
			"adobe-1.6",
			"adobe-1.7",
			"iso-19005-1_2005",
			"iso-32000-1_2008"
		],
		"urf-supported": [
			"CP99",
			"W8",
			"OB10",
			"PQ3-4-5",
			"DM1",
			"IS1-2-4",
			"MT1-2-3-5",
			"MT1-2-3-5",
			"RS600-1200"
		],
		"printer-uuid": "urn:uuid:564e4233-4830-3435-3033-80c16e972e51",
		"marker-names": "Black Cartridge HP CF280X",
		"marker-colors": "#000000",
		"marker-types": "toner",
		"marker-low-levels": 6,
		"marker-high-levels": 100,
		"marker-levels": 71,
		"copies-default": 1,
		"multiple-document-handling-default": "single-document",
		"finishings-default": "none",
		"orientation-requested-default": "portrait",
		"print-quality-default": "normal",
		"printer-resolution-default": [
			600,
			600,
			"dpi"
		],
		"sides-default": "one-sided",
		"output-bin-default": "face-down",
		"output-mode-default": [
			"auto",
			"monochrome"
		],
		"copies-supported": [
			1,
			999
		],
		"multiple-document-handling-supported": [
			"single-document",
			"separate-documents-uncollated-copies",
			"separate-documents-collated-copies",
			"single-document-new-sheet"
		],
		"finishings-supported": "none",
		"orientation-requested-supported": [
			"portrait",
			"landscape",
			"reverse-landscape",
			"reverse-portrait"
		],
		"print-quality-supported": [
			"normal",
			"draft"
		],
		"printer-resolution-supported": [
			[
				600,
				600,
				"dpi"
			],
			[
				1200,
				1200,
				"dpi"
			]
		],
		"sides-supported": [
			"one-sided",
			"two-sided-short-edge",
			"two-sided-long-edge"
		],
		"job-impressions-supported": [
			1,
			99999
		],
		"output-bin-supported": "face-down",
		"output-mode-supported": [
			"auto",
			"monochrome"
		],
		"printer-icons": [
			"http://CP01/ipp/images/printer.png",
			"http://CP01/ipp/images/printer-large.png"
		],
		"printer-supply-info-uri": "http://CP01/hp/device/mSupplyStatus.html",
		"printer-device-id": "MFG:Hewlett-Packard;CMD:PJL,PML,PCLXL,URP,PCL,PDF,POSTSCRIPT;MDL:HP LaserJet 400 M401dn;CLS:PRINTER;DES:Hewlett-Packard LaserJet 400 M401dn;MEM:MEM=237MB;COMMENT:RES=1200x1;LEDMDIS:USB#ff#04#01;CID:HPLJPDLV1;",
		"landscape-orientation-requested-preferred": "landscape",
		"identify-actions-default": "display",
		"identify-actions-supported": "display",
		"epcl-version-supported": "epcl-1.0",
		"image-enhancement-supported": [
			"object-tagging",
			"k-plane-enhancement"
		],
		"manual-duplex-supported": true,
		"pclm-raster-back-side": "normal",
		"pclm-compression-method-preferred": "jpeg",
		"pclm-source-resolution-supported": [
			[
				600,
				600,
				"dpi"
			],
			[
				1200,
				1200,
				"dpi"
			]
		],
		"pclm-strip-height-preferred": 16,
		"pclm-strip-height-supported": [
			0,
			16,
			32,
			64,
			128,
			256,
			512
		],
		"pdf-fit-to-page-default": false,
		"pdf-fit-to-page-supported": true,
		"pdf-size-constraints": 75000000,
		"print-color-mode-default": "monochrome",
		"print-color-mode-supported": "monochrome",
		"print-content-optimize-default": "text-and-graphics",
		"print-content-optimize-supported": [
			"photo",
			"graphics",
			"text",
			"text-and-graphics"
		]
	}
};
